package com.ruoyi.userSystem.service.impl;

import com.ruoyi.userSystem.domain.Role;
import com.ruoyi.userSystem.mapper.RoleMapper;
import com.ruoyi.userSystem.service.IRoleService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @author 郑雨杭
 * @create 2025/5/30 - 10:33
 */
@Service
public class RoleServicesImpl implements IRoleService {
    @Autowired
    private RoleMapper roleMapper;
    @Override
    public Role selectByName(String name) {
        return roleMapper.selectByName(name);
    }
}
